package com.dhn.service.Impl;


import com.dhn.entity.Sys_menus;
import com.dhn.mapper.Sys_menusMapper;
import com.dhn.service.Sys_menusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Sys_menusServiceImpl implements Sys_menusService {
    @Autowired
    private Sys_menusMapper sys_menusMapper;
    @Override
    public List<Sys_menus> getSys_menus(Sys_menus sys_menus) {
        return sys_menusMapper.getSys_menus(sys_menus);
    }

    @Override
    public int getTotal(Sys_menus sys_menus) {
        return sys_menusMapper.getTotal(sys_menus);
    }
}
